package de.gameduell.framework.game.billard.controller {

	/**
	 * @see de.gameduell.framework.application.protocol.MultiplayerProtocol
	 */	
	public class BillardProtocol {
		
		// queue moved by active player, dispatched to other player and spectators
		public static const CHANGE_QUEUE:String = "change_queue";
		public static const QUEUE_CHANGED:String = "queue_changed";

		// hit the white Ball (send by the client)
		public static const HIT_CUE_BALL:String = "hit_cue_ball";
		public static const CUE_BALL_HITTED:String = "cue_ball_hitted";
		
		public static const PLACE_CUE_BALL:String = "place_cueball";
		public static const CUE_BALL_PLACED:String = "cueball_placed";
		
		public static const PLACE_BREAK_CUEBALL:String = "place_break_cueball";
		public static const BREAK_CUEBALL_PLACED:String = "break_cueball_placed";
		
		public static const ANNOUNCE_HOLE:String = "announce_hole";
		public static const HOLE_ANNOUNCED:String = "hole_announced";
		
		public static const PLAYER_COLOR:String = "player_color";
		
		// send calculated results to server, receive sync result
		public static const SYNCHRONIZE_HIT_RESULTS:String = "synchronize_hit_results";
		public static const HIT_RESULTS_SYNCHRONIZED:String = "hit_results_synchronized";
		
		
		public static const START_SHOOT_OUT:String = "start_shoot_out";
		public static const HIT_SHOOT_OUT_BALL_ENERGY:String = "hit_shoot_out_ball_energy";
		public static const HIT_SHOOT_OUT_BALL_POSITION:String = "hit_shoot_out_ball_position";
		public static const SHOOT_OUT_BALL_HITTED:String = "shoot_out_ball_hitted";
		public static const FINISH_SHOOT_OUT_BALL:String = "finish_shoot_out";
		
		
		
	}
}